package cn.sciento.farm.devicemanager.dao.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author wumu
 * @since 2019-06-21
 */
public class DevCollectionHistory extends Model<DevCollectionHistory> {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Long collectionId;

    private Long lastTime;

    private Float lastData;

    private String tenantId;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCollectionId() {
        return collectionId;
    }

    public void setCollectionId(Long collectionId) {
        this.collectionId = collectionId;
    }

    public Long getLastTime() {
        return lastTime;
    }

    public void setLastTime(Long lastTime) {
        this.lastTime = lastTime;
    }

    public Float getLastData() {
        return lastData;
    }

    public void setLastData(Float lastData) {
        this.lastData = lastData;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    @Override
    protected Serializable pkVal() {
        return null;
    }

    @Override
    public String toString() {
        return "DevCollectionHistory{" +
        "id=" + id +
        ", collectionId=" + collectionId +
        ", lastTime=" + lastTime +
        ", lastData=" + lastData +
        ", tenantId=" + tenantId +
        "}";
    }
}
